<div>

    <div class="ibox ">
        <div class="ibox-title">
            <h5>
                <span>
                    <vc:i18n name="查询条件" namespace="couponDetailManage"></vc:i18n>
                </span>
            </h5>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-4">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请输入优惠券','couponDetailManage')"
                            v-model="couponDetailManageInfo.conditions.poolId" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请输入店铺ID','couponDetailManage')"
                            v-model="couponDetailManageInfo.conditions.shopId" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryCouponDetailMethod()">
                        <i class="glyphicon glyphicon-search"></i> <span>
                            <vc:i18n name="查询" namespace="couponDetailManage"></vc:i18n>
                        </span>
                    </button>
                </div>
            </div>


        </div>
    </div>

    <div class="ibox">
        <div class="ibox-title">
            <h5>
                    <vc:i18n name="商家购买记录" namespace="couponDetailManage"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;">
            </div>
        </div>
        <div class="ibox-content">

            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                <thead>
                    <tr>
                        <th class="text-center">
                                <vc:i18n name="商家购买记录表ID" namespace="couponDetailManage"></vc:i18n>
                        </th>
                        <th class="text-center">
                                <vc:i18n name="店铺" namespace="couponDetailManage"></vc:i18n>
                        </th>
                        <th class="text-center">
                                <vc:i18n name="优惠券名称" namespace="couponDetailManage"></vc:i18n>
                        </th>
                        <th class="text-center">
                                <vc:i18n name="面值" namespace="couponDetailManage"></vc:i18n>
                        </th>
                        <th class="text-center">
                                <vc:i18n name="购买价格" namespace="couponDetailManage"></vc:i18n>
                        </th>
                        <th class="text-center">
                                <vc:i18n name="付款金额" namespace="couponDetailManage"></vc:i18n>
                        </th>
                        <th class="text-center">
                                <vc:i18n name="购买数量" namespace="couponDetailManage"></vc:i18n>
                        </th>
                        <th class="text-center">
                                <vc:i18n name="有效期" namespace="couponDetailManage"></vc:i18n>
                        </th>
                        <!-- <th class="text-center"><span><vc:i18n name="操作" namespace="couponDetailManage"></vc:i18n></span></th> -->


                    </tr>
                </thead>
                <tbody>
                    <tr v-for="couponDetail in couponDetailManageInfo.couponDetails">
                        <td class="text-center">{{couponDetail.detailId}}</td>
                        <td class="text-center">{{couponDetail.shopName}}</td>
                        <td class="text-center">{{couponDetail.couponName}}</td>
                        <td class="text-center">{{couponDetail.actualPrice}}</td>
                        <td class="text-center">{{couponDetail.buyPrice}}</td>
                        <td class="text-center">{{couponDetail.amount}}</td>
                        <td class="text-center">{{couponDetail.buyCount}}</td>
                        <td class="text-center">{{couponDetail.validityDay}}</td>
                    </tr>
                </tbody>
            </table>
            <!-- 分页 -->
            <vc:create path="frame/pagination"></vc:create>
        </div>

    </div>



    <vc:create path="admin/addCouponDetail" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="admin/editCouponDetail"></vc:create>
    <vc:create path="admin/deleteCouponDetail"></vc:create>

</div>